home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 5385 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  910 b 

  1. Path: unixg.ubc.ca!news
  2. From: csmecher@unixg.ubc.ca (Alec or Graeme Smecher)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Removing 320x200 256 color PCX files out of memory
  5. Date: Sun, 04 Feb 1996 07:10:27 GMT
  6. Organization: The University of British Columbia
  7. Message-ID: <4f1m0t$g3e@nntp.ucs.ubc.ca>
  8. References: <00000DEA00001B9F@prostar.com>
  9. Reply-To: csmecher@unixg.ubc.ca
  10. NNTP-Posting-Host: port64.annex2.net.ubc.ca
  11. X-Newsreader: Forte Free Agent 1.0.82
  12.  
  13. fender@prostar.com (Fender) wrote:
  14. >I suppose this is because the PCX files are taking up all of my memory 
  15. >until I don't have any left. This is pretty much an outline of the rooms:
  16.  
  17. This means that the pictures are stored in memory, probably in a
  18. "VOID" or "CHAR *" variable. You have to "free" the memory taken up by
  19. the variable. This should be the function called "free" :-P
  20. example: free (variable name);
  21.  
  22. Good luck!
  23. Alec Smecher
  24. csmecher@unixg.ubc.ca
  25.  
  26.